Strip huge piles of cruft from the connection infrastructure. We now actually
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 8 Dec 2005 15:04:31 +0000 (15:04 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 8 Dec 2005 15:04:31 +0000 (15:04 +0000)
commitae0212521eeffb070742f34fb0cade814724fc09
treeba397c622ed1b704eeee5ad1dafd34a4f8a4e802
parent5ea39e7063999e13d767dcad08aedda3ccafb4e8
Strip huge piles of cruft from the connection infrastructure.  We now actually
block inside accept rather than using select to poll and then calling accept
regardless of the outcome of the select call, and then failing because the
socket is non-blocking.

SocketClientConnection, SocketConnector, TCPClientConnection, TCPConnector,
connectTCP, UnixClientConnection, UnixConnector, connectUnix have gone.

loseConnection and stopListening and closeSocket (where they are needed) are
now called close.  startListening is now called listen.

Closes bug #379.

Relieves a weight from the shoulders of the universe.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/web/connection.py
tools/python/xen/web/protocol.py
tools/python/xen/web/tcp.py
tools/python/xen/web/unix.py
tools/python/xen/xend/server/relocate.py